{extend name="base" /}
{block name="title"}企业大全{/block}

{block name="main"}
<div class="zbd-main">
	<div class="page">
		<div class="row">
		    <div class="w9">
		        <div class="box">
		        	<div class="box-title">
						<div class="left small black">
							<i class="icon ice-certified"></i> 
							企业大全
						</div>
						<div class="right small gray2">
							<span class="black smll">共 {$list['total']|default='0'} 个企业</span>
						</div>
					</div>
					{foreach $list['rows'] as $key => $val}
				    <div class="box-content">
				    	<div class="cp-pic">
				    		<img class="wz-img" src="{$val['pic']|default=''}" alt="{$val['title']|default=''}">
				    	</div>
				    	<div class="wz-mian">
				    		<div class="relative">
				    			<h5>
				    				<a href="/company/info?id={$val['id']}" class="bold black">{$val['title']|default=''}</a>
				    				<span class="tls {$val['type'] == '注销' ? 'bg-red' : 'bg-green'}">{$val['type']|default=''}</span>
				    			</h5>
				    		</div>
				    		<div class="gray2 small mb10 mt15">
				    			<span class="mr15">法人代表：{$val['user_name']|default=''}</span>
				    			<span class="mr15">注册资本：{$val['price']|default=''}</span>
				    			<span class="mr15">成立日期：{$val['star_time']|default=''}</span>
				    		</div>
				    		<div class="gray2 small wz-desc">{$val['descs']|default=''}</div>
				    	</div>
				    </div>
				    {/foreach}
				    <div class="box-content">
				    	<div class="fengye">
				    		<div class="paging" id="paging-1"></div>
				    	</div>
				    </div>
				</div>
		    </div>

		    <div class="w3">
		    	
		    	<div class="box">
		    		<div class="zbd-sign">
		    			<div class="row">
		    				<div class="w4">
		    					<div class="qiandao icon ice-calendar cursor-pointer" title="立刻签到"> 签到</div>
		    				</div>
		    				<div class="w8">
		    					<div class="qd-info">
		    						<div class="qd-col">
		    							<span class="small block qd-tip bdx"><i class="icon ice-user-chart smallicon"></i> 219 人</span>
		    							<span class="small block qd-tip"><i class="icon ice-time smallicon"></i> 签到信息</span>
		    						</div>
		    						<div class="qd-col text-center">
		    							<span class="small block qd-tip">星期一</span>
		    							<span class="small block qd-tip">06月09日</span>
		    						</div>
		    					</div>
		    				</div>
		    			</div>
		    		</div>
		    	</div>

		        <div class="box mt20">
		        	<div class="box-title">
						<div class="left small black"><i class="icon ice-time"></i> 最新加入的站点</div>
					</div>
			    	<div class="box-content">
				    	<div class="item-list">
				    		{foreach $new_site as $key => $val}
				    		<div class="item">
				    			<div class="thumb">
				    				<a href="/site/info?id={$val['id']}" title="{$val['title']}">
				    					<img src="{$val['pics']}" class="img9162" alt="{$val['title']}">
				    				</a>
				    			</div>
				    			<div class="info">
				    				<div class="black">
				    					<a href="/site/info?id={$val['id']}" title="{$val['title']}" class="black">{$val['title']}</a>
				    				</div>
				    				<div class="ddesc">{$val['descs']}
				    				</div>
				    			</div>
				    		</div>
				    		{/foreach}
				    	</div>
				    </div>
				</div>
		    </div>
		</div>
	</div>
</div>
{/block}

{block name="js"}
<script>
	ice.paging({
		id: 'paging-1',
		count: {$list['total']},
		size: {$list['pageSize']},
		page: {$list['page']},
		callback(num) {
			window.location.href = '/company?page=' + num ;
		}
	})
</script>
{/block}